﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>inputNumber</title>
<meta name="content-type" content="text/html; charset=utf-8" />
<script src="../../common/js/jquery-1.4.2.min.js"></script>
<script src="../../lib/all.js"></script>
<style>
	body{font-size:12px;margin-top:100px;}
</style>
</head>

<body>
	<h2>inputNumber</h2>
	<div id="container">
		<input type="text" id="txt" /><span style="color:#999;">只允许输入数字</span>
	</div>

	<script>
		$("#txt").inputNumber();
	</script>

</body>
</html>
